Skip to content

feat: 120 Hz default com_maxfps; easybuild -vulkan for Vulkan builds#11

Merged
cursor[bot] merged 1 commit intomainfrom
cursor/fps120-vulkan-easybuild-39fd
Apr 27, 2026
Merged

feat: 120 Hz default com_maxfps; easybuild -vulkan for Vulkan builds#11
cursor[bot] merged 1 commit intomainfrom
cursor/fps120-vulkan-easybuild-39fd

Conversation

@timfox
Copy link
Copy Markdown
Owner

@timfox timfox commented Apr 27, 2026

Summary

  • com_maxfps default 120 (was 125) so fresh installs align with common 120 Hz panels; Cvar_CheckRange 20–500 unchanged. Users who want 125+ can still set the cvar.
  • easybuild.sh: -vulkan / -vk enables FEATURE_RENDERER_VULKAN, passes -DFEATURE_RENDERER_VULKAN to CMake, and turns RENDERER_DYNAMIC back on when needed (CMake requires dynamic libs when multiple renderers are selected).
  • README: documents the flag, points to draft PR Vulkan: enable KHR ray tracing demo path in RHI #5 for KHR RT RHI work, and notes vsync / r_swapInterval vs frame cap.

Full Vulkan implementation

Shipping a complete Vulkan path (feature parity with GL1, all maps/mods, validation-clean) is large ongoing work; this PR improves defaults and build ergonomics. Ray-tracing / RHI depth remains in draft PR #5 until reviewed and de-risked.

Testing

CI should exercise existing default renderer matrix; Vulkan is still off in CI unless we add a job later.

Open in Web Open in Cursor 

- Default com_maxfps 120 (was 125) for common 120 Hz displays; range 20-500
  unchanged.
- easybuild.sh: -vulkan/-vk sets FEATURE_RENDERER_VULKAN=1, passes to CMake,
  forces RENDERER_DYNAMIC on when needed for multi-backend builds.
- README: Vulkan easybuild flag, draft RT PR pointer, high-refresh notes.

Co-authored-by: Tim Fox <timfox@outlook.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 25b57abb1f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread easybuild.sh
Comment on lines +358 to +360
if [ "${RENDERER_DYNAMIC:-1}" -eq 0 ]; then
einfo "Re-enabling dynamic renderer build (required when building Vulkan + OpenGL)"
RENDERER_DYNAMIC=1
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate Vulkan/dynamic renderer flags after arg parsing

This re-enable check only executes when -vulkan is parsed, so argument order changes behavior: running easybuild.sh ... -vulkan -nodynamic leaves RENDERER_DYNAMIC=0 while FEATURE_RENDERER1 (default) and FEATURE_RENDERER_VULKAN=1 are both enabled, which then triggers CMake's fatal guard (Only one renderer can be built at a time when building static libraries in cmake/ETLBuildRenderer.cmake). The script should enforce this constraint after all options are processed so -vulkan is safe regardless of flag order.

Useful? React with 👍 / 👎.

@cursor cursor Bot merged commit 04e7cc2 into main Apr 27, 2026
10 checks passed
@cursor cursor Bot deleted the cursor/fps120-vulkan-easybuild-39fd branch April 27, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants